package start.spring.basic.job.quartz;

/**
 * Quartz任务调度常量类
 * 
 * @author Administrator
 *
 */
public class QuartzConstant {
	
	/**
	 * 任务等待运行状态
	 */
	public static final String JOB_STATUS_WAITING = "0";
	
	/**
	 * 任务运行中状态
	 */
	public static final String JOB_STATUS_RUNNING = "1";
	
	/**
	 * 任务执行成功
	 */
	public static final String JOB_STATUS_SUCC = "2";
	
	/**
	 * 任务执行出错
	 */
	public static final String JOB_STATUS_FAIL = "3";
	

	/**
	 * 并发线程数存储key
	 */
	public static final String THREAD_NUM = "threadnum";
	
	/**
	 * 任务超时时间存储key
	 */
	public static final String TIME_OUT = "timeout";
	
	/**
	 * 任务有效标志存储key
	 */
	public static final String YXBZ = "yxbz";
	
	/**
	 * 任务是否并发存储key
	 */
	public static final String SFBF = "sfbf";
	
}
